from django.conf.urls.defaults import *
from index.views import index,upload,test
from index import settings

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^$', index),
    (r'^test/$',test),
    (r'^upload/$', upload),
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': './media'}),
    (r'^admin/', include(admin.site.urls)),
)
